/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package com.dyg.geovisor.service;

import com.dyg.geovisor.bean.SiteBean;
import java.util.List;
import java.util.Vector;

/**
 *
 * @author Helbert Dario Rico Lugo
 */
public class GeoVisorService {

    public List<SiteBean> searchAddress(String pattern) {
        List<SiteBean> sites = new Vector<SiteBean>();
        SiteBean temp = new SiteBean();
        temp.setAddress("Kra 80I Nro 73A Sur");
        temp.setLat(4.642f);
        temp.setLon(-74.079f);
        sites.add(temp);
        temp = new SiteBean();
        temp.setAddress("Kra 80I Nro 73A");
        temp.setLat(4.643f);
        temp.setLon(-74.078f);
        sites.add(temp);
        temp = new SiteBean();
        temp.setAddress("Kra 80I Nro 73 Sur");
        temp.setLat(4.644f);
        temp.setLon(-74.077f);
        sites.add(temp);
        temp = new SiteBean();
        temp.setAddress("Kra 80I Nro 73");
        temp.setLat(4.643f);
        temp.setLon(-74.0763f);
        sites.add(temp);
        return sites;
    }
}
